<div style="padding:10px;">
<ul>
	<?php foreach($documents as $document):?>
		<li><a href="documents/download/<?php echo $document->id?>"><?php echo $document->title?></a></li>
	<?php endforeach;?>
</ul>
</div>